package com.ddstation.doctor.entity;

import javax.persistence.Table;
import java.util.Date;

@Table(name = "invs.dd_doctor")
public class DdDoctorEntity {
	
	protected String id;
	protected String qyUserId;
	private String institutionId;
	private String institutionName;
	private String doctorId;
	protected String name;
	private String headImgUrl;
	private Integer onlineFlg; // 是否在线接单
	private Integer voiceInformStatus; //是否自动电话通知
	private Integer isLeader;
	private String departmentName;
	private Integer type;
	protected String phone;
//	private DdDoctorGroupEntity doctorGroup; //只有pa时有用
	private int    department;
	private int 	count;   //updateOrInsert时使用
	private String positional;
	private String workunit;
	private String cityname;
	private String logo;
	private String comment;
	// add by zhengxb 2019.8.26 start ---------------
	private String idCard;//身份证号
	private String idCardAtta;//身份证附件
    private String qualification;//医师资格证书
    private String qualificationAtta;//医师资格证书附件
    private String doctorLicence;//医师执业证书
    private String doctorLicenceAtta;//医师执业证书附件
    private String technicalTitle;//职称
    private String technicalTitleAtta;//职称附件
    private String scopePractice;//执业范围
    private Integer antibiosisAuthority;//抗菌药物处方权
    private String antibiosisAuthorityAtta;//抗菌药物处方权附件
    private Integer anestheticAuthority;//麻醉药品和第一类精神药品处方资格
    private String anestheticAuthorityAtta;//麻醉药品和第一类精神药品处方资格附件
    private Integer doctorVerifySt;
    private Date submissionTm;
    private String supervisorId;

	public String getInstitutionId() {
		return institutionId;
	}

	public void setInstitutionId(String institutionId) {
		this.institutionId = institutionId;
	}

	public String getInstitutionName() {
		return institutionName;
	}

	public void setInstitutionName(String institutionName) {
		this.institutionName = institutionName;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getQyUserId() {
		return qyUserId;
	}
	public void setQyUserId(String qyUserId) {
		this.qyUserId = qyUserId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getOnlineFlg() {
		return onlineFlg;
	}
	public void setOnlineFlg(Integer onlineFlg) {
		this.onlineFlg = onlineFlg;
	}
	public Integer getIsLeader() {
		return isLeader;
	}
	public void setIsLeader(Integer isLeader) {
		this.isLeader = isLeader;
	}
	public String getDepartmentName() {
		return departmentName;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
//	public DdDoctorGroupEntity getDoctorGroup() {
//		return doctorGroup;
//	}
//	public void setDoctorGroup(DdDoctorGroupEntity doctorGroup) {
//		this.doctorGroup = doctorGroup;
//	}
	public Integer getVoiceInformStatus() {
		return voiceInformStatus;
	}
	public void setVoiceInformStatus(Integer voiceInformStatus) {
		this.voiceInformStatus = voiceInformStatus;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}	
	public int getDepartment() {
		return department;
	}
	public void setDepartment(int department) {
		this.department = department;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	
	public String getPositional() {
		return positional;
	}
	public void setPositional(String positional) {
		this.positional = positional;
	}
	
	public String getWorkunit() {
		return workunit;
	}
	public void setWorkunit(String workunit) {
		this.workunit = workunit;
	}
	
	public String getCityname() {
		return cityname;
	}
	public void setCityname(String cityname) {
		this.cityname = cityname;
	}
	
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		DdDoctorEntity other = (DdDoctorEntity) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public String getHeadImgUrl() {
		return headImgUrl;
	}
	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public String getQualification() {
		return qualification;
	}
	public void setQualification(String qualification) {
		this.qualification = qualification;
	}
	public String getQualificationAtta() {
		return qualificationAtta;
	}
	public void setQualificationAtta(String qualificationAtta) {
		this.qualificationAtta = qualificationAtta;
	}
	public String getDoctorLicence() {
		return doctorLicence;
	}
	public void setDoctorLicence(String doctorLicence) {
		this.doctorLicence = doctorLicence;
	}
	public String getDoctorLicenceAtta() {
		return doctorLicenceAtta;
	}
	public void setDoctorLicenceAtta(String doctorLicenceAtta) {
		this.doctorLicenceAtta = doctorLicenceAtta;
	}
	public String getTechnicalTitle() {
		return technicalTitle;
	}
	public void setTechnicalTitle(String technicalTitle) {
		this.technicalTitle = technicalTitle;
	}
	public String getScopePractice() {
		return scopePractice;
	}
	public void setScopePractice(String scopePractice) {
		this.scopePractice = scopePractice;
	}
	public Integer getAntibiosisAuthority() {
		return antibiosisAuthority;
	}
	public void setAntibiosisAuthority(Integer antibiosisAuthority) {
		this.antibiosisAuthority = antibiosisAuthority;
	}
	public String getAntibiosisAuthorityAtta() {
		return antibiosisAuthorityAtta;
	}
	public void setAntibiosisAuthorityAtta(String antibiosisAuthorityAtta) {
		this.antibiosisAuthorityAtta = antibiosisAuthorityAtta;
	}
	public Integer getAnestheticAuthority() {
		return anestheticAuthority;
	}
	public void setAnestheticAuthority(Integer anestheticAuthority) {
		this.anestheticAuthority = anestheticAuthority;
	}
	public String getAnestheticAuthorityAtta() {
		return anestheticAuthorityAtta;
	}
	public void setAnestheticAuthorityAtta(String anestheticAuthorityAtta) {
		this.anestheticAuthorityAtta = anestheticAuthorityAtta;
	}
	public Integer getDoctorVerifySt() {
		return doctorVerifySt;
	}
	public void setDoctorVerifySt(Integer doctorVerifySt) {
		this.doctorVerifySt = doctorVerifySt;
	}
	public Date getSubmissionTm() {
		return submissionTm;
	}
	public void setSubmissionTm(Date submissionTm) {
		this.submissionTm = submissionTm;
	}

	public String getIdCardAtta() {
		return idCardAtta;
	}

	public void setIdCardAtta(String idCardAtta) {
		this.idCardAtta = idCardAtta;
	}

	public String getTechnicalTitleAtta() {
		return technicalTitleAtta;
	}
	public void setTechnicalTitleAtta(String technicalTitleAtta) {
		this.technicalTitleAtta = technicalTitleAtta;
	}
	public String getSupervisorId() {
		return supervisorId;
	}
	public void setSupervisorId(String supervisorId) {
		this.supervisorId = supervisorId;
	}

    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    @Override
	public String toString() {
		return "DdDoctorEntity [id=" + id + ", qyUserId=" + qyUserId + ", name=" + name + ", headImgUrl=" + headImgUrl
				+ ", onlineFlg=" + onlineFlg + ", voiceInformStatus=" + voiceInformStatus + ", isLeader=" + isLeader
				+ ", departmentName=" + departmentName + ", type=" + type + ", phone=" + phone + ", department="
				+ department + ", count=" + count + ", positional=" + positional + ", workunit=" + workunit
				+ ", cityname=" + cityname + ", logo=" + logo + ", comment=" + comment + ", idCard=" + idCard
				+ ", idCardAtta=" + idCardAtta + ", qualification=" + qualification + ", qualificationAtta="
				+ qualificationAtta + ", doctorLicence=" + doctorLicence + ", doctorLicenceAtta=" + doctorLicenceAtta
				+ ", technicalTitle=" + technicalTitle + ", technicalTitleAtta=" + technicalTitleAtta
				+ ", scopePractice=" + scopePractice + ", antibiosisAuthority=" + antibiosisAuthority
				+ ", antibiosisAuthorityAtta=" + antibiosisAuthorityAtta + ", anestheticAuthority="
				+ anestheticAuthority + ", anestheticAuthorityAtta=" + anestheticAuthorityAtta + ", doctorVerifySt="
				+ doctorVerifySt + ", submissionTm=" + submissionTm + ", supervisorId=" + supervisorId + "]";
	}
	
	
}
